export {};

//需求  fun 代表一个计算两个数的 func
let fun: (numa: number, numb: number) => number = function (a, b): number {
  return a + b;
};

let fun2: (numa: number) => number = function (a): number {
  return a;
};

fun2(10);
